package com.kalix.mooc.img.entities;

import com.kalix.framework.core.api.persistence.PersistentEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "mooc_img")
public class ImgBean extends PersistentEntity {
    @Column(name = "imgUrl", columnDefinition = "text")
    private String imgUrl; // 图片路径
    private String type; // 类型
    private String identify; // 图片标识

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIdentify() {
        return identify;
    }

    public void setIdentify(String identify) {
        this.identify = identify;
    }
}
